"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ResponseModel = void 0;
const ErrorCode_1 = require("../config/ErrorCode");
class ResponseModel {
    constructor() {
        this.code = ErrorCode_1.ErrorCode.Code.Suc;
        this.msg = "";
    }
    static create(code = ErrorCode_1.ErrorCode.Code.Suc, msg = "", data = null) {
        let model = new ResponseModel();
        model.code = code;
        model.msg = msg;
        model.data = data;
        return model;
    }
}
exports.ResponseModel = ResponseModel;
